/*
 * Project 2
 * TCSS 422.
 */
public abstract class AbstractProcess
{
	private static final int NUM_INSTRUCTIONS = 1000;

	private String my_name;
	private int my_id;
	private int my_priority;
	
	public AbstractProcess(final int the_id, final String the_name, final int the_priority)
	{
		my_name = the_name;
		my_id = the_id;
		my_priority = the_priority;
	}
	
	public int getNumInstructions()
	{
		return NUM_INSTRUCTIONS;
	}
	
	public int getId()
	{
		return my_id;
	}
	
	public int getPriority()
	{
		return my_priority;
	}
	
	public abstract void generateInstructions();
	
	public abstract String[] getInstructions();
	/**
	 * 
	 * @return name of each process */
	public String getName()
	{
		return my_name;
	}
}
